package com.xingzhengfan.eurekaclient;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MQServiceImpl implements MQService {

    @Autowired
    private MQProducer mqProducer;
    @Override
    public void sendMessage(MQConfig info) {
        mqProducer.sendDataToQueue(info);
    }
}
